package com.hiultra.archive.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

import static com.hiultra.common.utils.SecurityUtils.getDeptId;

/**
 * 审批步骤对象 simf_examine_setup
 *
 * @author ls
 * @date 2023-09-25
 */
public class SimfExamineSetup extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 设置id
     */
    private Long setupId;

    /**
     * 审批流程
     */
    @Excel(name = "审批流程")
    private Long examineId;


    /**
     * 审批流程
     */
    @Excel(name = "审批流程")
    private String examineName;

    /**
     * 步骤名称
     */
    @Excel(name = "步骤名称")
    private String setupName;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sortNo;

    /**
     * 审批部门
     */
    @Excel(name = "审批部门")
    private Long deptId;

    /**
     * 审批人
     */
    @Excel(name = "审批人")
    private Long userId;

    /**
     * 审批部门
     */
    @Excel(name = "审批部门")
    private String deptName;

    /**
     * 审批人
     */
    @Excel(name = "审批人")
    private String userName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setSetupId(Long setupId) {
        this.setupId = setupId;
    }

    public Long getSetupId() {
        return setupId;
    }

    public Long getExamineId() {
        return examineId;
    }

    public void setExamineId(Long examineId) {
        this.examineId = examineId;
    }

    public String getExamineName() {
        return examineName;
    }

    public void setExamineName(String examineName) {
        this.examineName = examineName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setSetupName(String setupName) {
        this.setupName = setupName;
    }

    public String getSetupName() {
        return setupName;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public Integer getSortNo() {
        return sortNo;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("setupId", getSetupId())
                .append("examineId", getExamineId())
                .append("setupName", getSetupName())
                .append("sortNo", getSortNo())
                .append("deptId", getDeptId())
                .append("userId", getUserId())
                .append("remark", getRemark())
                .toString();
    }
}
